﻿using System;
using System.Collections.Generic;

namespace HML
{

    /// <summary>
    /// Value值格式化事件参数
    /// </summary>
    public class WaterRipplesValueFormatEventArgs : EventArgs
    {
        private readonly double value;
        /// <summary>
        /// 当前Value值
        /// </summary>
        public double Value
        {
            get { return this.value; }
        }

        private string valueFormat;
        /// <summary>
        /// 格式化后的值文本
        /// </summary>
        public string ValueFormat
        {
            get { return this.valueFormat; }
            set { this.valueFormat = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="value">当前Value值</param>
        /// <param name="valueFormat">格式化后的值文本</param>
        public WaterRipplesValueFormatEventArgs(double value, string valueFormat)
        {
            this.value = value;
            this.valueFormat = valueFormat;
        }

    }
}
